package com.example.hidesms.bo;

import java.util.ArrayList;

import android.database.Cursor;

import com.example.hidesms.dto.SMSItem;
import com.example.hidesms.sqlite.DataBaseHelper;

public interface ISmsBO {
	public boolean insert(DataBaseHelper myDatabase, SMSItem sms);

	public boolean update(DataBaseHelper myDatabase, SMSItem sms);

	public boolean delete(DataBaseHelper myDatabase, int smsId);

	public ArrayList<SMSItem> getAll(DataBaseHelper myDatabase, String folderGroup, boolean flag);
	public ArrayList<SMSItem> getAllByRead(DataBaseHelper myDatabase, String read);

	public ArrayList<SMSItem> getById(DataBaseHelper myDatabase, int smsId);
	public ArrayList<SMSItem> getByAdress(DataBaseHelper myDatabase, String address);

}
